import {Tools} from 'weaver-mobile';
import {PARAMS} from "../../../blog/components/public/BlogUtils";

/**
 * 绩效-待审核方案列表-高级搜索条件
 * jiansong 2019/6/11
 */
export const programAuditListConditionApi = params => {
    let options = {
        method: 'GET',
        url: '/api/workrelate/performance/programAuditListCondition',
        params: {...params}
    };
    return Tools.callApi(options);
}

/**
 * 绩效-待审核方案-列表
 * jiansong 2019/6/11
 */
export const programAuditListApi = params => {
    let options = {
        method: 'GET',
        url: '/api/workrelate/performance/programAuditList',
        params: {...params}
    };
    return Tools.callApi(options);
}

/**
 * 绩效-待审核方案-审核
 * jiansong 2019/6/11
 */
export const programAuditOperationApi = params => {
    let options = {
        method: 'POST',
        url: '/api/workrelate/performance/programAuditOperation',
        params: {...params}
    };
    return Tools.callApi(options);
}